ThirstyAffiliates\Models\Affiliate_Link_Attachment S

Total Complexity 50
Dependencies 4
Dependents 1
Total lines 420
Lines of code 177
Logical lines of code 112
Comment lines 146
Methods 12
Properties 4

Methods 12

Method Rating Maintainability Complexity Lines of code
ajax_insert_external_image()
A
46 10 33
ajax_add_attachments_to_affiliate_link()
A
48 9 29
ajax_remove_attachment_to_affiliate_link()
A
51 8 22
handle_attachment_deletion()
A
49 7 32
remove_attachment_to_affiliate_link()
S
57 4 15
add_attachments_to_affiliate_link()
S
62 3 10
current_screen_filter()
S
69 3 6
get_instance()
S
72 2 5
__construct()
S
71 1 6
restrict_file_upload_to_images_only()
S
64 1 10
initialize()
S
72 1 5
run()
S
75 1 4